-
Home
-
MDirector Newsletter
-
3.0.20
-
Code
-
Classes
- Mdirector_Newsletter_Utils
| Total Complexity |
147 |
| Dependencies |
11 |
| Dependents |
5 |
| Total lines |
1,069 |
| Lines of code |
654 |
| Logical lines of code |
295 |
| Comment lines |
131 |
| Methods |
50 |
| Properties |
3 |
Methods 50
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| getRegisterFormHTML() |
A |
40 |
15 |
56 |
| mdSendWeeklyMails() |
A |
41 |
11 |
52 |
| mdSendDailyMails() |
A |
43 |
9 |
46 |
| sendMailAPI() |
A |
41 |
7 |
57 |
| composeEmailSubject() |
S |
51 |
6 |
27 |
| getSelectFrequency() |
S |
52 |
5 |
27 |
| getCurrentLanguages() |
S |
54 |
5 |
22 |
| getCurrentTemplate() |
S |
58 |
5 |
16 |
| mdSendMail() |
S |
49 |
4 |
31 |
| getCurrentListId() |
S |
59 |
5 |
14 |
| findKeyInMultiArray() |
S |
63 |
5 |
10 |
| getCurrentLang() |
S |
62 |
4 |
12 |
| getExcludeCats() |
S |
61 |
4 |
12 |
| textTruncate() |
S |
57 |
3 |
16 |
| buildPosts() |
S |
59 |
3 |
14 |
| getMainImage() |
S |
63 |
3 |
11 |
| getTemplateMainFile() |
S |
64 |
3 |
10 |
| checkIfDeliveryCanBeSent() |
S |
63 |
3 |
10 |
| buildDailyMails() |
S |
63 |
3 |
10 |
| buildWeeklyMails() |
S |
64 |
3 |
10 |
| getMinimumPostsForNewsletter() |
S |
59 |
2 |
14 |
| resetNewsletterDeliveryDateSent() |
S |
62 |
2 |
11 |
| cleanNewsletterProcess() |
S |
63 |
2 |
10 |
| getPluginOptions() |
S |
76 |
2 |
4 |
| getMainImageSize() |
S |
74 |
2 |
5 |
| getTemplatePath() |
S |
68 |
2 |
7 |
| getImageTagFromPost() |
S |
64 |
2 |
10 |
| getDynamicPostTitle() |
S |
68 |
2 |
7 |
| getDeliveryCampaignId() |
S |
68 |
2 |
7 |
| isDeliveryActive() |
S |
67 |
2 |
7 |
| calculateFromDate() |
S |
68 |
2 |
6 |
| parsePost() |
S |
61 |
1 |
12 |
| getPostsArgs() |
S |
64 |
1 |
11 |
| __construct() |
S |
76 |
1 |
4 |
| isWPML() |
S |
80 |
1 |
3 |
| getPluginTemplates() |
S |
79 |
1 |
3 |
| getDefaultTemplates() |
S |
75 |
1 |
4 |
| getUserCustomTemplates() |
S |
75 |
1 |
4 |
| getCustomTemplatesPath() |
S |
72 |
1 |
6 |
| resetDeliveriesSent() |
S |
68 |
1 |
7 |
| templateMainFileIsTwig() |
S |
75 |
1 |
4 |
| getTemplateName() |
S |
75 |
1 |
4 |
| isTemplateCustom() |
S |
79 |
1 |
3 |
| parsingTemplate() |
S |
69 |
1 |
6 |
| buildListFromPosts() |
S |
64 |
1 |
10 |
| setHTMLContentType() |
S |
82 |
1 |
3 |
| getPosts() |
S |
70 |
1 |
6 |
| calculateToDate() |
S |
71 |
1 |
5 |
| buildDailyMailsInPreviewMode() |
S |
76 |
1 |
4 |
| buildWeeklyMailsInPreviewMode() |
S |
76 |
1 |
4 |